package ioc

import (
	"go.uber.org/zap"
	"gquickstarter/pkg/logger"
)

func LoggerInitialization() logger.LoggerWriter {
	l, err := zap.NewDevelopment()
	if err != nil {
		panic(err)
	}
	return logger.CreateZapLogger(l)
}
